* {
    padding: 0;
    margin: 0;
}

.w {
    width: 1200px;
    margin: auto;
}

body {
    background-color: #f3f5f7;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}


/* 头部区域 */

.header {
    height: 42px;
    /* background-color: aqua; */
    margin: 30px auto;
}


/* logo部分 */

.logo {
    float: left;
    width: 198px;
    height: 42px;
}


/* 首页导航 */

.nav {
    float: left;
    margin-left: 50px;
    /* background-color: powderblue; */
}

.nav li {
    float: left;
    margin: 0 15px;
    line-height: 42px;
}

.nav li a {
    display: block;
    padding: 0 9px;
    font-size: 18px;
    color: #050505;
}

.nav li a:hover {
    color: #00a4ff;
    border-bottom: 2px solid #00a4ff;
}


/* 搜索框 */

.search {
    float: left;
    height: 42px;
    margin-left: 70px;
}

.search input {
    float: left;
    width: 320px;
    height: 40px;
    padding-left: 21px;
    border: 1px solid #00a4ff;
    border-right: 0;
    line-height: 40px;
    font-size: 14px;
    color: #bfbfbf;
}

.search button {
    float: left;
    width: 51px;
    height: 42px;
    border: 0;
    background: url(images/btn.png);
}


/* 用户名 */

.suer {
    float: right;
    width: 118px;
    padding-right: 20px;
}

.suer img {
    float: left;
    padding-top: 6px;
    line-height: 42px;
}

.suer p {
    float: left;
    padding-left: 5px;
    line-height: 42px;
    font-size: 14px;
    color: #666;
}


/* 2.banner部分 */


/* 左侧边栏 */

.banner {
    height: 420px;
    background-color: #1c036c;
}

.banner .w {
    height: 420px;
    background: url(images/banner2.png) no-repeat top center;
}

.subnav {
    float: left;
    width: 190px;
    height: 390px;
    padding: 15px 0;
    background: rgba(0, 0, 0, .3);
}

.subnav li {
    height: 44px;
    line-height: 44px;
    padding: 0 20px;
}

.subnav li a {
    font-size: 14px;
    color: #fff;
}

.subnav li a:hover {
    color: #00a4ff;
}

.subnav li a span {
    float: right;
}


/* 课程表 */

.course {
    float: right;
    width: 228px;
    height: 300px;
    margin-top: 50px;
    background-color: #fff;
}

.course h2 {
    padding: 14px 0;
    font-size: 18px;
    color: #fff;
    text-align: center;
    background-color: #9bceea;
}

.course ul {
    padding: 0 20px;
}

.course ul li {
    padding: 13px 0;
    border-bottom: 1px solid #ccc;
}

.course ul li h4 {
    font-size: 16px;
    color: #4e4e4e;
}

.course ul li p {
    font-size: 12px;
    color: #a5a5a5;
}

.course a {
    display: block;
    width: 200px;
    height: 38px;
    margin: 5px 14px;
    border: 1px solid #00a4ff;
    font-size: 16px;
    font-weight: 700;
    color: #00a4ff;
    text-align: center;
    line-height: 38px;
}


/* 3.精品推荐模块开始 */

.goods {
    height: 60px;
    background-color: #ffffff;
    box-shadow: 0px 2px 3px 0px rgba(118, 118, 118, 0.2);
}

.goods h2 {
    float: left;
    padding-left: 34px;
    font-size: 16px;
    color: #00a4ff;
    line-height: 60px;
}

.goods ul {
    float: left;
    margin-left: 30px;
}

.goods ul li {
    float: left;
}

.goods ul li a {
    padding: 0 25px;
    border-left: 1px solid #bfbfbf;
    font-size: 16px;
    color: #000;
    line-height: 60px;
}

.goods .mod {
    float: right;
    font-size: 16px;
    color: #00a4ff;
    line-height: 60px;
    padding-right: 26px;
}


/* 4.核心展示区 */

.box1-hd,
.box2-hd {
    height: 40px;
    margin: 10px 0;
    /* background-color: green; */
}

.box1-hd h3,
.box2-hd h3 {
    float: left;
    font-size: 18px;
    font-weight: 400;
    color: #494949;
    line-height: 40px;
}

.box1-hd a,
.box2-hd a {
    display: block;
    float: right;
    padding: 15px 35px 10px 0;
    font-size: 12px;
    color: #a5a5a5;
}

.box1-bd ul,
.box2-bd ul {
    width: 1300px;
}

.box1-bd ul li {
    position: relative;
    float: left;
    width: 228px;
    height: 270px;
    margin-bottom: 15px;
    margin-right: 15px;
    background-color: #fff;
}

.box1-bd ul li>img,
.box2-bd ul li img {
    width: 100%;
}

.box1-bd ul li em {
    position: absolute;
    top: 4px;
    right: -4px;
}

.box1-bd ul li h4,
.box2-bd ul li h4 {
    padding: 15px;
    height: 45px;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.box1-bd ul li div,
.box2-bd ul li div {
    padding: 0 15px;
    font-size: 12px;
    color: #999;
}

.box1-bd ul li div span,
.box2-bd ul li div span {
    color: #ff7c2d;
}


/* 5.核心展示区2 */

.box2-hd ul {
    height: 40px;
    width: 338px;
    margin: auto;
    padding-top: 10px;
}

.box2-hd ul li {
    float: left;
    padding: 0 20px;
    font-size: 16px;
    color: #868686;
}

.box2-hd ul li .a:hover {
    color: #00a4ff;
}

.box2-bd .left img {
    float: left;
    width: 228px;
    height: 392px;
    /* background-color: pink; */
}

.box2-bd .top img {
    float: left;
    width: 957px;
    height: 100px;
    margin-left: 15px;
    /* background-color: pink; */
}

.box2-bd ul li {
    float: left;
    width: 228px;
    height: 270px;
    margin-left: 15px;
    margin-top: 20px;
    /* background-color: pink; */
}


/* 底部区域 */

.footer {
    height: 417px;
    margin-top: 40px;
    background-color: #fff;
}

.copright {
    float: left;
    width: 432px;
    margin-top: 33px;
    margin-left: 10px;
    /* background-color: pink; */
}

.copright p {
    margin: 20px 0;
    font-size: 12px;
    color: #666;
    line-height: 18px;
}

.copright a {
    display: block;
    width: 118px;
    height: 34px;
    border: 1px solid #00a4ff;
    text-align: center;
    line-height: 34px;
    font-size: 16px;
    color: #00a4ff;
}

.links {
    float: right;
    margin-top: 33px;
    margin-right: 30px;
    width: 600px;
    height: 300px;
    /* background-color: #9bceea; */
}

.links dl {
    float: right;
    color: #333333;
    line-height: 21px;
    margin-left: 100px;
}

.links dl dt {
    font-size: 16px;
    padding-bottom: 10px;
}

.links dl dd a {
    font-size: 12px;
    color: #333333;
}